﻿using MSAcademic.v2.Infrastructure.User;

namespace MSAcademic.v2.Infrastructure.AccessRights
{
    public interface IAccessRightsService
    {
        bool CanUserAccess(IUser user, AccessRight accessRight);
        bool CanUserAccess(IUser user, int ownerId, AccessRight accessRight);
    }
}
